'   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 '     C o m m a n d s   t o   T h e r e m i n o _ C N C 
 
 '   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 B u t t o n   1   L a b e l   C m d R u n 
 
 B u t t o n   2   L a b e l   C m d S t e p 
 
 B u t t o n   3   L a b e l   C m d P a u s e 
 
 B u t t o n   4   L a b e l   C m d R e w i n d 
 
 B u t t o n   5   L a b e l   C m d S t o p 
 
 
 
 B u t t o n   7   L a b e l   R a p i d 5 0 0 
 
 B u t t o n   8   L a b e l   R a p i d 2 0 0 0 
 
 B u t t o n   9   L a b e l   F e e d 1 0 0 
 
 B u t t o n   1 0   L a b e l   F e e d 1 0 0 0 
 
 B u t t o n   1 1   L a b e l   S p e e d 0 
 
 B u t t o n   1 2   L a b e l   S p e e d 2 0 0 0 0 
 
 
 
 B u t t o n   1 7   L a b e l   T e s t L o w Z 
 
 B u t t o n   1 8   L a b e l   G o t o Z e r o 
 
 B u t t o n   1 9   L a b e l   G o t o H o m e 
 
 B u t t o n   2 0   L a b e l   G o t o B o t t o m L e f t 
 
 B u t t o n   2 1   L a b e l   G o t o T o p R i g h t 
 
 
 
 B u t t o n   2 3   L a b e l   S e t Z e t a H o m e 
 
 B u t t o n   2 4   L a b e l   C a l i b r a t e X Y 
 
 B u t t o n   2 5   L a b e l   C a l i b r a t e Z 
 
 B u t t o n   2 6   L a b e l   C a l i b r a t e A B 
 
 
 
 B u t t o n   2 8   L a b e l   M o v e T o _ 1 0 _ 2 0 _ 3 0 
 
 B u t t o n   2 9   L a b e l   M o v e T o _ 2 0 _ 3 0 _ 1 0 
 
 
 
 B u t t o n   3 3   L a b e l   Z e r o X 
 
 B u t t o n   3 4   L a b e l   Z e r o Y 
 
 B u t t o n   3 5   L a b e l   Z e r o Z 
 
 B u t t o n   3 6   L a b e l   Z e r o A 
 
 B u t t o n   3 7   L a b e l   Z e r o B 
 
 
 
 B u t t o n   3 9   L a b e l   G o t o L i n e 5 
 
 B u t t o n   4 0   L a b e l   G o t o L i n e 5 0 
 
 B u t t o n   4 1   L a b e l   G o t o L i n e 9 9 9 9 
 
 
 
 B u t t o n   4 3   L a b e l   L o a d M a s t e r 
 
 B u t t o n   4 4   L a b e l   L o a d P m t A d a p t e r 
 
 
 
 B u t t o n   4 6   L a b e l   E r r o r T e s t 
 
 
 
 V a r i a b l e   N u m e r i c   S l o t _ C o m m a n d s T o C n c   =   1 
 
 V a r i a b l e   N u m e r i c   S l o t _ S t a t u s   =   2 
 
 L o o p 
 
 S t o p 
 
 
 
 L a b e l   L o o p 
 
 	 P r i n t   S l o t T e x t ( S l o t _ S t a t u s ) 
 
 G o t o   L o o p 
 
 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 '     S E N D   C O M M A N D   ( d e f a u l t   t i m e o u t   =   0 . 5   S e c ) 
 
 '   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 L a b e l   S e n d C o m m a n d 
 
 	 V a r i a b l e   N u m e r i c   S C 1               ' < - -   P a r a m e t e r   D e s t i n a t . - S l o t 
 
 	 V a r i a b l e   S t r i n g     S C 2               ' < - -   P a r a m e t e r   C o m m a n d - S t r i n g 
 
 	 V a r i a b l e   N u m e r i c   S C 3   =   0 . 5   ' < - -   T h e   t i m e o u t   i n   s e c o n d s 
 
 	 V a r i a b l e   N u m e r i c   S C 4 
 
 	 S l o t T e x t   S C 1   =   S C 2 
 
 	 F o r   S C 4   =   0 . 1   T o   S C 3   S t e p   0 . 1 
 
 	 	 I f   S l o t T e x t ( S C 1 )   =   " " 
 
 	 	 	 E x i t 
 
 	 	 E n d I f 
 
 	 	 W a i t   S e c o n d s   0 . 1 
 
 	 N e x t 
 
 R e t u r n 
 
 
 
 L a b e l   C m d R u n 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C m d R u n " ) 
 
 R e t u r n 
 
 L a b e l   C m d S t e p 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C m d S t e p " ) 
 
 R e t u r n 
 
 L a b e l   C m d P a u s e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C m d P a u s e " ) 
 
 R e t u r n 
 
 L a b e l   C m d R e w i n d 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C m d R e w i n d " ) 
 
 R e t u r n 
 
 L a b e l   C m d S t o p 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C m d S t o p " ) 
 
 R e t u r n 
 
 
 
 L a b e l   R a p i d 5 0 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " R a p i d   5 0 0 " ) 
 
 R e t u r n 
 
 L a b e l   R a p i d 2 0 0 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " R a p i d   2 0 0 0 " ) 
 
 R e t u r n 
 
 L a b e l   F e e d 1 0 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " F e e d   1 0 0 " ) 
 
 R e t u r n 
 
 L a b e l   F e e d 1 0 0 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " F e e d   1 0 0 0 " ) 
 
 R e t u r n 
 
 L a b e l   S p e e d 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " S p e e d   0 " ) 
 
 R e t u r n 
 
 L a b e l   S p e e d 2 0 0 0 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " S p e e d   2 0 0 0 0 " ) 
 
 R e t u r n 
 
 
 
 L a b e l   T e s t L o w Z 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " T e s t L o w Z " ) 
 
 R e t u r n 
 
 L a b e l   G o t o Z e r o 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o Z e r o " ) 
 
 R e t u r n 
 
 L a b e l   G o t o H o m e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o H o m e " ) 
 
 R e t u r n 
 
 L a b e l   G o t o B o t t o m L e f t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o B o t t o m L e f t " ) 
 
 R e t u r n 
 
 L a b e l   G o t o T o p R i g h t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o T o p R i g h t " ) 
 
 R e t u r n 
 
 
 
 L a b e l   S e t Z e t a H o m e 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " S e t Z e t a H o m e " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e X Y 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C a l i b r a t e X Y " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e Z 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C a l i b r a t e Z " ) 
 
 R e t u r n 
 
 L a b e l   C a l i b r a t e A B 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " C a l i b r a t e A B " ) 
 
 R e t u r n 
 
 
 
 L a b e l   M o v e T o _ 1 0 _ 2 0 _ 3 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " M o v e T o   1 0   2 0   3 0 " ) 
 
 R e t u r n 
 
 L a b e l   M o v e T o _ 2 0 _ 3 0 _ 1 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " M o v e T o   2 0   3 0   1 0 " ) 
 
 R e t u r n 
 
 
 
 L a b e l   Z e r o X 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " Z e r o X " ) 
 
 R e t u r n 
 
 L a b e l   Z e r o Y 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " Z e r o Y " ) 
 
 R e t u r n 
 
 L a b e l   Z e r o Z 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " Z e r o Z " ) 
 
 R e t u r n 
 
 L a b e l   Z e r o A 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " Z e r o A " ) 
 
 R e t u r n 
 
 L a b e l   Z e r o B 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " Z e r o B " ) 
 
 R e t u r n 
 
 
 
 L a b e l   G o t o L i n e 5 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o L i n e   5 " ) 
 
 R e t u r n 
 
 L a b e l   G o t o L i n e 5 0 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o L i n e   5 0 " ) 
 
 R e t u r n 
 
 L a b e l   G o t o L i n e 9 9 9 9 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " G o t o L i n e   9 9 9 9 " ) 
 
 R e t u r n 
 
 
 
 L a b e l   L o a d M a s t e r 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " L o a d G c o d e   P C B   L a r g e \ M a s t e r D I L - V 3 . g c " ) 
 
 R e t u r n 
 
 L a b e l   L o a d P m t A d a p t e r 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " L o a d G c o d e   P C B   L a r g e \ P m t A d a p t e r . g c " ) 
 
 R e t u r n 
 
 
 
 L a b e l   E r r o r T e s t 
 
 	 S e n d C o m m a n d ( S l o t _ C o m m a n d s T o C n c ) ( " E r r o r   T e s t " ) 
 
 R e t u r n 
 
 
 
 
 
 ' W A T C H   S e w T o _ S p e e d 
 
 ' E X E C   B u t t o n   5   T e x t   B u t t o n 5 
 
 